#scroll-bar-box {
    width: auto;
    position: fixed;
    top: 0;
    right: 0;
    width: 1rem;
    height: 100vh;
    z-index: 30;
    transition: opacity 0.3s ease-in-out;
    &.hide {
        opacity: 0;
    }
    &:hover,
    &.hover {
        #scroll-bar {
            width: 1rem;
            background-color: rgba($color: #efefef, $alpha: 0.9);
        }
    }
    #scroll-bar {
        width: 0.375rem;
        height: 100%;
        transition: 0.3s ease-in-out;
        transition-property: width, background-color;
        position: absolute;
        top: 0;
        right: 0;
        #scroll-thumb {
            width: 100%;
            height: 100%;
            background-color: rgba($color: #444, $alpha: 0.8);
            &:active {
                background-color: rgba($color: #222, $alpha: 0.8);
            }
        }
    }
}
#scroll-curtain {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: 100;
}
